﻿<mui:ModernDialog x:Class="SimlvClient.Login"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mui="http://firstfloorsoftware.com/ModernUI"
             mc:Ignorable="d" 
             d:DesignHeight="150" d:DesignWidth="300" WindowStartupLocation="CenterScreen"  Title="登录" >
    <Grid x:Name="LayoutRoot" >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="80"></ColumnDefinition>
            <ColumnDefinition Width="230"></ColumnDefinition>

        </Grid.ColumnDefinitions>
        <TextBlock Text="用户名:" Grid.Row="0" VerticalAlignment="Center" Grid.Column="0" Margin="5,14,0,0"/>
        <TextBox x:Name="txtUserName" MaxLength="50" Grid.Column="1" Margin="5,7,0,1" Width="205" HorizontalAlignment="Left" />

        <TextBlock Text="密码:" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="5,8,5,5"/>
        <PasswordBox x:Name="txtPassword"  MaxLength="50" Grid.Row="1" Grid.Column="1" Margin="5,4,0,1" Width="205" HorizontalAlignment="Left"
                   />
      
    </Grid>
</mui:ModernDialog>
